﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Master/MasterPage.master"
    CodeBehind="OrderCover.aspx.cs" Inherits="HZ.Supervise.Web.Company.OrderCover"
    Title="订单覆盖率统计" %>

<%@ Register Src="~/Common/QueryControl.ascx" TagName="QueryControl" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="tabnav">
        <ul>
            <li><a href="HospitalCover.aspx">医院覆盖率统计</a></li>
            <li class="active"><a href="#">订单覆盖率统计</a></li>
        </ul>
    </div>
    <div id="tabcontent">
        <table class="querylist">
            <tr>
                <td width="100%">
                    <table class="querylist">
                        <tr>
                            <td align="right">
                                选择时间：
                            </td>
                            <td align="left">
                                <asp:TextBox runat="server" ID="txtstarttime" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd',readOnly:true})"></asp:TextBox>-
                                <asp:TextBox runat="server" ID="txtendtime" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd',readOnly:true})"></asp:TextBox>
                            </td>
                        </tr>
                    </table>
                </td>
                <td style="width: 100px;">
                    <asp:Button runat="server" ID="btnQuery" Text="查  询" OnClick="btnQuery_Click" CssClass="btn" />
                </td>
            </tr>
        </table>
    </div>
    <asp:GridView ID="gv" runat="server" AutoGenerateColumns="False" CssClass="mainlist"
        AllowSorting="True" EmptyDataText="暂无符合条件的数据！" DataKeyNames="">
        <Columns>
            <asp:TemplateField HeaderText="序号">
                <ItemTemplate>
                    <%#Container.DataItemIndex + 1%></ItemTemplate>
                <HeaderStyle Width="30px" />
            </asp:TemplateField>
            <asp:BoundField DataField="CompanyID_PS" HeaderText="配送企业编号" />
            <asp:BoundField DataField="CompanyName" HeaderText="配送企业名称" />
            <asp:BoundField DataField="Pos" HeaderText="配送订单数排名" />
            <asp:BoundField DataField="OrderCount" HeaderText="配送订单数" />
            <asp:BoundField DataField="DataRate_PS" HeaderText="覆盖率" />
        </Columns>
    </asp:GridView>
    <div class=" page">
        <span style="width: 30%; float: left; text-align: left">
            <hz:HzButton ID="btnExcel" runat="server" CssClass="btn" Text="导出数据" OnClick="btnExcel_Click" /></span>
    </div>
    <div class="listip">
        <ul>
            <li>说明:<span></span> </li>
        </ul>
    </div>
    <asp:HiddenField runat="server" ID="hidAreaId" />
</asp:Content>
